<template>
  <div class="footer">
    <footer class="site-footer">
      <div class="bottom-info">
        <div class="contact">
          <div class="contact-txt">电话：010-52712388</div>
          <div class="contact-txt">邮箱：service@hanruih2.com</div>
          <div class="contact-txt">地址：北京市海淀区苏州街29号维亚大厦10层</div>
        </div>
        <div class="nav">
          <router-link to="/" class="link">首页</router-link>
          <router-link to="/news" class="link">新闻中心</router-link>
          <router-link to="/about" class="link">关于我们</router-link>
          <router-link to="/contact" class="link">联系我们</router-link>
          <router-link to="/join" class="link">加入我们</router-link>
        </div>
        <div class="qrcode flex-center flex-direction-column">
          <img src="@/assets/images/qrcode.png" alt="" />
          <span>扫码关注公众号</span>
        </div>
      </div>
      <el-divider />
      <div class="copyright-info">
        <span>Copyright © 2023 瀚锐氢能</span>
        <span class="clickable">
          <a href="https://beian.miit.gov.cn" target="_blank">京ICP备2023006909号</a>
        </span>
        <span>京公安备xxxx号</span>
      </div>
    </footer>
  </div>
</template>

<script></script>

<style lang="scss" scoped>
.footer {
  padding: 24px 0;
  position: relative;
  background-color: #eeeeee;
  //background: url('@/assets/images/footer_bg.png') no-repeat;
  //background-size: cover;
}
.site-footer {
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  inset-inline-start: 0;
  line-height: 21px;
  font-size: 12px;
  font-family: 'Gotham SSm', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
}
.nav {
  width: 600px;
  justify-content: space-between;
  align-items: center;
  .link {
    display: flex;
    font-size: 16px;
    color: #0f0f0f;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    cursor: pointer;
  }
}
.bottom-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .contact-txt {
    color: #0f0f0f;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0.1em;
  }
  .qrcode {
    width: 110px;
    img {
      width: 100%;
      height: 110px;
      margin-bottom: 8px;
    }
  }
}
.copyright-info {
  display: flex;
  justify-content: center;
  color: #5c5e62;
  font-weight: 500;

  .clickable {
    margin: 0 15px;
  }
}
@media screen and (max-width: 1200px) {
  .nav {
    display: none;
  }
  .site-footer {
    padding: 0 15px;
  }
  .copyright-info {
    flex-direction: column;
    align-items: center;
    span {
      display: block;
      font-size: 10px;
      line-height: 18px;
    }
    .clickable {
      margin: 0;
    }
  }
}
@media screen and (min-width: 1200px) {
  .nav {
    display: flex;
  }
}
</style>
